package com.heima.model.comment.pojos;

import com.heima.model.common.dtos.PageRequestDto;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("ap_comment")
public class ApComment implements Serializable{

    private static final long serialVersionUID = 1L;


    private String id;


    //用户id
    private Integer authorId;

    //用户名字
    private String authorName;

    //文章id
    private Long entryId;


    private Integer type;


    private String content;


    private Integer likes;


    private Integer reply;


    private Integer flag;


    private Date createdTime;

    /**
     * 是否点赞
     * 0：点赞
     * null：没有点赞
     */
    private Integer operation;
}
